﻿using System;
using System.Collections.Generic;
using GameFramework.Battle.Core;
using Gameplay.PVE.Utils;
using RootMotion.FinalIK;
using UnityEngine;

namespace Gameplay.PVE.Survivor
{
    public class TrapMovement: StickMovement
    {
        public override void Start()
        {
            var targetPosition = bullet.targetPosition;
            bullet.Position = (targetPosition + bullet.sourceUnit.position) / 2;
            isFinish = false;
            lastHitTime = -1;
        }
    }
}
